package com.qf.shopping.pojo.car;

/**
 * 车款的配置参数
 * @author Humy
 * @date 2019/4/12 20:24
 */
public class CarParameter {

    //id
    private Long id;

    //名称
    private String name;

    //所属分类级别
    private Integer level;

    //状态
    private Integer status;

    //车款id
    private Long carId;

    public CarParameter() {
    }

    public CarParameter(Long id, String name, Integer level, Integer status, Long carId) {
        this.id = id;
        this.name = name;
        this.level = level;
        this.status = status;
        this.carId = carId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getCarId() {
        return carId;
    }

    public void setCarId(Long carId) {
        carId = carId;
    }


    @Override
    public String toString() {
        return "CarParameter{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", level=" + level +
                ", status=" + status +
                ", carId=" + carId +
                '}';
    }

}
